/*
 * @Description: 
 * @version: 
 * @Company: 
 * @Author: GeYang
 * @Date: 2019-10-29 17:14:40
 * @LastEditors: 
 * @LastEditTime: 2019-10-30 14:17:04
 */
import $http from '../assets/js/http'
export async function saveMBITOne(condition, AScore, BScore, CScore, DScore) {
  condition._dateTime = parseInt((condition.dateTime).getTime()) / 1000;
  condition = JSON.stringify(condition);
  return $http.post("MBIT/saveMBIT", {
    condition,
    AScore,
    BScore,
    CScore,
    DScore
  })
}

export async function saveMBITTwo(condition,
  Fscore) {
  condition._dateTime = parseInt((condition.dateTime).getTime()) / 1000;
  condition = JSON.stringify(condition);
  return $http.post("MBIT/saveMBITTwo", {
    condition,
    Fscore
  })

}
